package ru.efimmatytsin.tweeterella.services;

import ru.efimmatytsin.tweeterella.entities.Photo;
import ru.efimmatytsin.tweeterella.entities.User;

import java.math.BigInteger;
import java.util.List;

/**
 * Created by Efim Matytsin on 17.02.15.
 */

public interface PhotoService {

    public Photo getPhoto(BigInteger id);

    public Photo savePhoto(Photo photo);

    public List<Photo> getAllPhotos();

    public List<Photo> getUserPhotos(User user);

}
